tools: fix make uninstall
authorOlaf Hering <olaf@aepfle.de>
Wed, 1 Oct 2014 16:41:03 +0000 (18:41 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 6 Oct 2014 14:50:54 +0000 (15:50 +0100)
commit3df671ec2603e8700665b62a29afe93d40f78457
tree388a5833dfc45bbac062e7a28eee0e6fb3732923
parent22be8b121a668d8351cdc497c35dbe167fc1aec1
tools: fix make uninstall

The uninstall target does not know about the paths it removes because
the toplevel Makefile does not include the required files.

Move the commands to tools/Makefile because all files come from subdirs
in tools/ anyway. Drop the removal of $(XEN_RUN_DIR) because it gets
created at runtime. Drop the removal of systemd related files because
the wildcard matches everything.

The proper fix is to remove the files and directories in the Makefiles
which install them. But this version is the least intrusive change at
this point.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Makefile
tools/Makefile